from django.conf.urls import urlfrom . import viewsurlpatterns = [    url(r'^$', views.IndexView.as_view(), name='index'),  # 首页]